﻿@model Testicide.Models.Feature


@{
    ViewBag.Title = "Edit";
}

<h2>Edit Feature</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    
        <div class="order">
    <legend>Feature</legend>

        @Html.HiddenFor(model => model.ID)

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Date)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Date)
            @Html.ValidationMessageFor(model => model.Date)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ModuleID, "Module")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ModuleID", String.Empty)
            @Html.ValidationMessageFor(model => model.ModuleID)
        </div>
        <br />
        <p>
            <input id="Edit" type="submit" value="Save" />
        </p>

        <div>
            @Html.ActionLink("Back to Features", "Index")
        </div>
    </div>
        
}
